#!/bin/sh
pnpm build:no-check &&
zip -r -o dist.zip dist &&
scp dist.zip root@47.101.163.13:/root/web-sites/naive-demo/ &&
ssh root@47.101.163.13 'cd /root/web-sites/naive-demo/ ; ./deploy.sh -y' &&
#ssh root@47.101.163.13 'cd /root/web-sites/naive-demo/' &&
rm -rf dist.zip &&
rm -rf dist &&
echo '发布完成！地址为:'
echo 'http://naive.pearadmin.com/'
